import $request from '../utils/request'
//获取首页图
export function getImage(data, method = 'get') {
  return $request({
    url: 'worker/index/imagee',
    method,
    data
  }, true)
}
// 获工作人员列表
export function workerList(data, method = 'get') {
  return $request({
    url: 'worker/list',
    method,
    data
  }, true)
}
// 获人员工作时间详情
export function workerTimeDetail(data, method = 'get') {
  return $request({
    url: 'worker/infoTime/'+data,
    method,
    //data
  }, true)
}

// 提交申请
export function sendApply(data, method = 'post') {
  return $request({
    url: 'islogin/apply',
    method,
    data
  }, true)
}
